package com.project.server.domain.traffic;

import com.project.common.annotation.Excel;
import com.project.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 交通监控信息对象 t_traffic_surveillance
 *
 * @author project
 * @date 2021-07-02
 */
public class TTrafficSurveillance extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 交通监控编号
     */
    private String surveillanceId;

    /**
     * 交通监控设备号
     */
    @Excel(name = "交通监控设备号")
    private String tSurveillanceFacility;

    /**
     * 交通监控通道号
     */
    @Excel(name = "交通监控通道号")
    private String tSurveillancePassage;

    /**
     * 交通监控端口号
     */
    @Excel(name = "交通监控端口号")
    private String tSurveillancePort;

    /**
     * 交通监控设备账号
     */
    @Excel(name = "交通监控设备账号")
    private String tSurveillanceAccount;

    /**
     * 交通监控设备密码
     */
    @Excel(name = "交通监控设备密码")
    private String tSurveillancePassword;

    /**
     * 交通监控名称
     */
    @Excel(name = "交通监控名称")
    private String surveillanceName;

    /**
     * 交通监控点位
     */
    @Excel(name = "交通监控点位")
    private String surveillancePt;

    /**
     * 交通监控类型
     */
    @Excel(name = "交通监控类型")
    private String surveillanceType;

    /**
     * 交通监控设备IP地址
     */
    @Excel(name = "交通监控设备IP地址")
    private String tSurveillanceIp;

    /**
     * 资产状态（0正常 1损坏 2维修中）
     */
    @Excel(name = "资产状态", readConverterExp = "0=正常,1=损坏,2=维修中")
    private String surveillanceStatus;

    public void setSurveillanceId(String surveillanceId) {
        this.surveillanceId = surveillanceId;
    }

    public String getSurveillanceId() {
        return surveillanceId;
    }

    public void settSurveillanceFacility(String tSurveillanceFacility) {
        this.tSurveillanceFacility = tSurveillanceFacility;
    }

    public String gettSurveillanceFacility() {
        return tSurveillanceFacility;
    }

    public void settSurveillancePassage(String tSurveillancePassage) {
        this.tSurveillancePassage = tSurveillancePassage;
    }

    public String gettSurveillancePassage() {
        return tSurveillancePassage;
    }

    public void settSurveillancePort(String tSurveillancePort) {
        this.tSurveillancePort = tSurveillancePort;
    }

    public String gettSurveillancePort() {
        return tSurveillancePort;
    }

    public void settSurveillanceAccount(String tSurveillanceAccount) {
        this.tSurveillanceAccount = tSurveillanceAccount;
    }

    public String gettSurveillanceAccount() {
        return tSurveillanceAccount;
    }

    public void settSurveillancePassword(String tSurveillancePassword) {
        this.tSurveillancePassword = tSurveillancePassword;
    }

    public String gettSurveillancePassword() {
        return tSurveillancePassword;
    }

    public void setSurveillanceName(String surveillanceName) {
        this.surveillanceName = surveillanceName;
    }

    public String getSurveillanceName() {
        return surveillanceName;
    }

    public void setSurveillancePt(String surveillancePt) {
        this.surveillancePt = surveillancePt;
    }

    public String getSurveillancePt() {
        return surveillancePt;
    }

    public void setSurveillanceType(String surveillanceType) {
        this.surveillanceType = surveillanceType;
    }

    public String getSurveillanceType() {
        return surveillanceType;
    }

    public void settSurveillanceIp(String tSurveillanceIp) {
        this.tSurveillanceIp = tSurveillanceIp;
    }

    public String gettSurveillanceIp() {
        return tSurveillanceIp;
    }

    public void setSurveillanceStatus(String surveillanceStatus) {
        this.surveillanceStatus = surveillanceStatus;
    }

    public String getSurveillanceStatus() {
        return surveillanceStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("surveillanceId", getSurveillanceId())
                .append("tSurveillanceFacility", gettSurveillanceFacility())
                .append("tSurveillancePassage", gettSurveillancePassage())
                .append("tSurveillancePort", gettSurveillancePort())
                .append("tSurveillanceAccount", gettSurveillanceAccount())
                .append("tSurveillancePassword", gettSurveillancePassword())
                .append("surveillanceName", getSurveillanceName())
                .append("surveillancePt", getSurveillancePt())
                .append("surveillanceType", getSurveillanceType())
                .append("tSurveillanceIp", gettSurveillanceIp())
                .append("surveillanceStatus", getSurveillanceStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
